#ifndef KC_ANALYZER_H__KC
#define KC_ANALYZER_H__KC

#include <boost/thread.hpp>
#include "../mime/data/RawMessage.h"
#include "../mime/data/Message.h"
#include "../logs/Logger.h"
#include "../filter/Rule.h"

namespace kc_sf
{
	class Analyzer
	{
		public:
			
			Analyzer();
			~Analyzer();

			void start();
			void stop();

		private:

			bool a_is_working;
			boost::thread_group a_analyzer_threads;

			Logger a_logger;

			void analyze( RawMessage &rmsg );
			bool checkAntivir( const RawMessage &rmsg );
	};
}

#endif /* KC_ANALYZER_H__KC */
